(2)No person to whom subsection (1)applies shall be required to give testimony or to produce any book, record, document or thing in any action or proceeding with regard to information obtained by the person in the course of his or her duties, employment, inquiry or investigation except in a proceeding under this Act or the regulations or by-laws or a proceeding under the Professional Engineers Act