(a) For each inmate assigned to and employed by the State Highway Administration or a county or municipal corporation, respectively, under § 9-509 or § 9-511 of this subtitle, the State Highway Administration, county, or municipal corporation shall pay to the Division of Correction the daily sum agreed on with the Division of Correction for each day that the inmate is employed.
(b) (1) Except as provided in paragraph (2) of this subsection, from the payments made under subsection (a) of this section, the Division of Correction:
(i) shall hold an amount, as determined by the Division, to the credit of the inmate on whose account the payments were made; and
(ii) on release or discharge of the inmate, shall pay to the inmate those payments held by the Division to the credit of the inmate.
(2) If the Division of Correction finds that the wife, child, or other dependent of an inmate needs financial support, the Division may pay all or part of the payments made under subsection (a) of this section, as the Division considers proper, to the dependent.
(c) The Division of Correction may adopt regulations as necessary to govern the collection and disbursement of payments made under this section.