Nothing in this chapter applies to officers, employees, or volunteers of the state, of any county, city, or other political subdivision, or of a federal agency of the United States, who are acting in their official capacity.