The prosecutor in a city or county in which an untried indictment, information, or complaint is pending shall be entitled to have a prisoner, against whom he or she has lodged a detainer and who is serving a term of imprisonment in any facility operated by the Department of Correctional Services, made available upon presentation of a written request for temporary custody or availability to the director. The court having jurisdiction of such indictment, information, or complaint shall duly approve, record, and transmit the prosecutor's request. Upon receipt of the prosecutor's written request the director shall:
(1) Furnish the prosecutor with a certificate stating the term of commitment under which the prisoner is being held, the time already served, the time remaining to be served on the sentence, the good time earned, the time of the prisoner's parole eligibility, and any decision of the Board of Parole relating to the prisoner; and
(2) Offer to deliver temporary custody of the prisoner to the appropriate authority in the city or county where the untried indictment, information, or complaint is pending in order that speedy and efficient prosecution may be had.