Medical facilities, fire stations, and police stations and their employees, agents, and staff members shall not be liable for civil damages or subject to criminal prosecution for failure to discharge the duties provided for in this chapter. The immunity provided in this chapter shall in no way be construed as providing immunity for any acts of negligent treatment of the child taken into custody.