Local governments have received hundreds of millions of dollars from the opioid settlements to support addiction treatment, recovery, and prevention efforts.