No liability is imposed by this chapter upon any authorized state, county, or municipal officer engaged in the lawful performance of his or her duties, or upon any person who reasonably believes that he or she is acting at the direction of such officer and that the officer is acting in the lawful performance of his or her duties.