(a) Any person filing a petition, participating in the making of a good–faith report, or participating in an investigation or in a judicial proceeding resulting therefrom, pursuant to § 13–705 or § 13–709 of this subtitle or Title 14, Subtitle 3 of the Family Law Article, shall have the immunity from civil liability or criminal penalty described under § 5–618(a) of the Courts and Judicial Proceedings Article.
(b) A law enforcement officer who transports an adult to an appropriate medical facility under § 13–709 of this subtitle shall have the immunity from civil or criminal liability described under § 5–618(b) of the Courts and Judicial Proceedings Article.