Prime Minister John Key said he sought an assurance from his lawyer that he was not linked to Mossack Fonseca, the law firm at the heart of the Panama Papers scandal.