Upon designation by the board of supervisors pursuant to Section 5114 of the Welfare and Institutions Code, the county counsel shall represent the county in proceedings under Part 1 (commencing with Section 5000) of Division 5 of the Welfare and Institutions Code.