(d) Paragraphs (2), (3), and (4) of subdivision (a) shall also be applicable to an inmate of a state penal or correctional institution who would otherwise be entitled to receive workers' compensation benefits based on an injury sustained prior to his or her incarceration. However, temporary and permanent disability benefits which, except for this subdivision, would otherwise be payable to an inmate during incarceration based on an injury sustained prior to incarceration shall be paid to the dependents of the inmate. If the inmate has no dependents, the temporary disability benefits which, except for this subdivision, would otherwise be payable during the inmate's incarceration shall be paid to the State Treasury to the credit of the Uninsured Employers Fund, and the permanent disability benefits which would otherwise be payable during the inmate's incarceration shall be held in trust for the inmate by the Department of Corrections during the period of incarceration.
For purposes of this subdivision, "dependents" means the inmate's spouse or children, including an inmate's former spouse due to divorce and the inmate's children from that marriage.