Here is the actual bill.
https://leginfo.legislature.ca.gov/face ... 20200SB132
The first section of interest.
The bill would require the department, for a person who is transgender, nonbinary, or intersex to only conduct a search of that person according to the search policy for their gender identity or according to the gender designation of the facility where they are housed, based on the individual’s search preference. The bill would additionally require the department to house the person in a correctional facility designated for men or women based on the individual’s preference, except as specified.