37-37-302. Immunity from misconduct allegations. Immunity from the disciplinary authority of the board for violations of 37-1-316 is granted to a person licensed by the board whenever the allegation of misconduct is based on testimony or opinions offered by the licensee with respect to judicial proceedings governed by Title 40, 41, or 42.