Any verbal, written, or electronic communication made in or in connection with matters referred to mediation which relates to the controversy or dispute being mediated and agreements resulting from the mediation, whether made to the mediator, the staff of an approved center, a party, or any other person attending the mediation session, shall be confidential. Mediation proceedings shall be regarded as settlement negotiations, and no admission, representation, or statement made in mediation, not otherwise discoverable or obtainable, shall be admissible as evidence or subject to discovery. A mediator shall not be subject to process requiring the disclosure of any matter discussed during mediation proceedings unless all the parties consent to a waiver. Confidential communications and materials are subject to disclosure when all parties agree in writing to waive confidentiality regarding specific verbal, written, or electronic communications relating to the mediation session or the agreement. This section shall not apply if a party brings an action against the mediator or center, if the communication was made in furtherance of a crime or fraud, or if this section conflicts with other legal requirements.