Subject to the availability of adequate state funding for these purposes, the sheriff of each county shall provide inmates who have been sentenced for drug-related offenses with information about behavior that places a person at high risk for contracting the human immunodeficiency virus (HIV), and about the prevention of the transmission of acquired immune deficiency syndrome (AIDS). Each county sheriff or the chief county probation officer shall provide all inmates who have been sentenced for drug-related offenses, who are within one month of release, or who have been placed on probation, with information about behavior that places a person at high risk for contracting HIV, about the prevention of the transmission of AIDS, and about agencies and facilities that provide testing, counseling, medical, and support services for AIDS victims. Information about AIDS prevention shall be solicited by each county sheriff or chief county probation officer from the State Department of Health Services, the county health officer, or local agencies providing services to persons with AIDS. The Director of Health Services, or his or her designee, shall approve protocols pertaining to the information to be disseminated under this section.
Ca. Pen. Code § 4018.1