(a) In this section, “violation” means:
(1) A violation of the Maryland Vehicle Law that is punishable by a sentence of imprisonment; or
(2) A violation of § 21–901.1(a) of this title.
(b) A person may not commit or engage another person to commit a violation for the purpose of filming, videotaping, photographing, or otherwise recording the violation unless the person obtains written permission for the commission of the violation from:
(1) The Secretary of State Police, or the Secretary’s designee; or
(2) The chief executive officer of the governing body of the county in which the violation is to occur, or the chief executive officer’s designee.
(c) A person convicted of a violation of this section is subject to imprisonment not exceeding 1 year or a fine not exceeding $1,000 or both.