In order to enhance and facilitate the department of corrections' ability to carry out its responsibility of planning and ensuring community protection, mental health records and information, as defined in this section, that are otherwise confidential shall be released by any mental health service provider to the department of corrections personnel for whom the information is necessary to carry out the responsibilities of their office as authorized in RCW
71.05.445. Department of corrections personnel must use records only for the stated purpose and must assure that records remain confidential and subject to the limitations on disclosure outlined in chapter
71.05 RCW, except as provided in RCW
72.09.585.