All authorized officers of the law, while investigating violations of this chapter in performance of their official duties, and any person working under their immediate direction, supervision, or instruction are immune from prosecution under this chapter.

(Repealed and added by Stats. 1996, Ch. 890, Sec. 3. Effective January 1, 1997.)