In order to ensure the proper enforcement of Sections 31-7-101 through 31-7-127, as well as to ensure the enforcement of all other laws pertaining to county government or the board of supervisors, the district attorney, in addition to any other powers he already has, shall have the power to investigate the personnel, records or supervisors of any county in his district and shall have the power to bring criminal or civil actions to recover funds illegally spent, to recover damages, or to seek injunctive relief to prevent unlawful acts or compel lawful ones by supervisors or other personnel of county government. In the event of a refusal or failure of the district attorney to act, the Attorney General in a proper case may exercise the above powers of the district attorney, notwithstanding the absence of a request for investigation or action by the district attorney.