(a) If any prisoner shall escape from the contractor or superintendent, the contractor or superintendent shall have the right to arrest the prisoner, in person or through any county sheriff or constable, anywhere in the state.
(b) The prisoner, when arrested, shall be delivered to the contractor or county sheriff of the county, and shall be compelled to work out all costs in making his or her arrest, in the manner provided in this section and §§ 12-42-103, 12-42-108, 12-42-115, 16-90-405, and 16-96-504 [repealed].