A relevant person may disclose confidential information—
(a) to the extent necessary for the person to perform a function, or comply with an obligation, under this Act; or
(b) if the disclosure is authorised under an Act; or
(c) if the disclosure is otherwise required or permitted by law; or
(d) if the person to whom the information relates consents to the disclosure; or
(e) if the disclosure is in a form that does not identify the person to whom the information relates.