The legislature of Alabama may hereafter, from time to time, by general or local laws, fix, regulate, and alter the costs, charges of courts, fees, commissions, allowances, or compensation to be charged or received by the sheriff of Bibb county, and may also fix, regulate, and alter the method or basis of compensating such officer.