Section 17. No sheriff shall receive any rent or emolument from the jailers and keepers of the houses of correction for the use and occupation of the dwelling houses provided for them by the county.