The clerks of court and registers of deeds of the several counties shall receive such salaries for performance of their duties as may be fixed by the governing body of the county, which shall not be diminished during their terms of office, and such compensation shall not be measured or affected by the fees and costs received by such officers under the provisions of this article. All such fees and costs received under the provisions of this article by such officials of any county shall be accounted for and paid into the general fund of the county as directed by the governing body thereof.