The secretary shall determine the state correctional institution in which the offender shall be confined during the term of imprisonment. The confinement of any offender shall be governed by the laws applicable to the institution to which the offender is certified for confinement, but parole and discharge shall be governed by the laws applicable to the sentence imposed by the court.