If a person under the custody of the department of correction has been convicted of a homicide offense or aggravated rape or rape, the commissioner shall notify the appropriate chief of police or sheriff when the person is released from custody on work release or furlough or is otherwise allowed to leave the grounds of the penitentiary and work in the community, whether or not the work is supervised or unsupervised. The chief of police or sheriff, or both if the political subdivision to which the person is released has both officials, shall be notified at least five (5) days prior to the date the person will be released or allowed to leave the grounds of the penitentiary to work in the community. The notice shall contain: