Except where it is necessary to do so for the purposes of giving effect to this Act, an entity is not to be required to disclose protected information, or produce a document containing protected information, to:
(a) a court; or
(b) a tribunal, authority or person that has the power to require the answering of questions or the production of documents.