Prison officials are trying to reduce the risk of overdose by providing medications for opioid use disorder before release.