(a) No person licensed under this statute or an employee of the licensee may disclose any confidential information he or she may have acquired from persons consulting him or her in his or her professional capacity except:
(1) With the written consent of the person or persons, or in the case of death or disability, of his or her personal representative, other person authorized to sue or the beneficiary of an insurance policy on his or her life, health or physical condition;
(2) When a communication reveals the contemplation of a crime or harmful act;
(3) When the person waives the privilege by initiating formal charges against the independent clinical social worker, certified social worker, graduate social worker or social worker;
(4) When the person is a minor under the laws of this state and the information acquired by the independent clinical social worker, certified social worker, graduate social worker or social worker indicates that the minor has been the victim or subject of a crime, and the independent clinical social worker, certified social worker, graduate social worker or social worker may be required to testify fully in any examination, trial or other proceeding in which the commission of a crime is the subject of inquiry; or
(5) Where otherwise required by law.
(b) Nothing in this section shall be construed, however, to prohibit any board licensee from testifying in juvenile proceedings concerning matters of adoption, child abuse, child neglect or other matters pertaining to the welfare of children.