The Attorney General may defend a public or private provider of health care, as defined in Section 56.05 of the Civil Code, and its officers, employees, agents, and subcontractors against any claim that the civil rights of a person in state custody were violated in the provision of health care services, where those services were provided under contract with, or under the control of, the Department of Corrections. Defense of the provider of health care is conditioned upon the provider maintaining insurance for professional negligence.