From and after the effective date of this act, any and all prisoners committed to the county jail pursuant to sentence of any state or municipal court for nonpayment of a fine or jail time shall upon the order of the county commissioner or sheriff be required to assist in maintaining, repairing or beautifying the county courthouse, jail or public property and the grounds thereof or working in the jail as a cook or any other jail work detail assigned by the sheriff or jail administrator.
Okla. Stat. tit. 57, § 58.1