After section 35—
insert—
'(1) A justice of the peace or commissioner for declarations may sight a proof of identity document and record information in the document, including by taking a copy of the document, for the purpose of taking an affidavit or attesting an instrument or document.
'(2) However, a justice of the peace or commissioner for declarations must not disclose information recorded under this section other than in the performance of the office of justice of the peace or commissioner for declarations or as otherwise required by law.
'(3) A justice of the peace or commissioner for declarations who records information under this section must take reasonable steps to ensure the information is kept in a secure way.'.