Cal. Welf. & Inst. Code § 625.4
(a) A law enforcement officer, employee of a law enforcement agency, or any agent thereof, shall not request that a voluntary DNA reference sample be collected directly from the person of a minor unless all of the following conditions are met:
(i) The scope of this section is limited to the collection of voluntary DNA reference samples directly from the person of minors, and, as such, subdivisions (a) to (h), inclusive have no application to the collection and use of DNA under other circumstances, including, but not limited to, any of the following: