The county mayor shall retain an attorney, subject to confirmation of the county legislative body, to review the base personnel policies for compliance with this chapter and other applicable law. The county mayor may, but is not required to, retain the county attorney in such capacity. The compensation of the attorney shall be established by the county legislative body, and shall be paid from the county general fund.