Any communication, verbal or written, in a mediation proceeding under this chapter is confidential and inadmissible as evidence in any proceeding. A mediator appointed under this chapter may not be a witness and the notes and work product of the mediator are not subject to discovery or subpoena in the proceeding in which the contested child custody, support, or visitation is at issue.