The medications “help to bridge that gap between 'I want to get clean' and getting clean," a prisons official said.