It is the intent of this chapter that the owner of a dangerous or vicious dog shall be solely liable for any injury to or death of a person caused by such dog. Under no circumstances shall the county, any employee, agent, or official thereof, any constitutional officer of the county, or any employee, or agent of such constitutional officer, who enforces or fails to enforce this chapter, be held liable for any damages to any person who suffers an injury inflicted by an animal.