This chapter does not apply to law enforcement officers while engaged in the performance of their official duties.