Sec. 7. PRISONER FROM ANOTHER STATE SUMMONED TO TESTIFY IN THIS STATE. (a) If a person confined in a penal institution in any other state may be a material witness in a criminal action pending in a court of record or in a grand jury investigation in this state, a judge of the court may certify that:
(1) there is a criminal proceeding or investigation by a grand jury or a criminal action pending in the court;
(2) a person who is confined in a penal institution in the other state may be a material witness in the proceeding, investigation, or action; and
(3) his presence will be required during a specified time.
(b) The judge of the court in this state shall:
(1) present the certificate to a judge of a court of record in the other state having jurisdiction over the prisoner confined; and
(2) give notice that the prisoner's presence will be required to the attorney general of the state in which the prisoner is confined.