Well, ten years is both a long time and not that long, you know? But yes US prescriptions peaked in ~2012.
Opioid dependency lags prescription rates pretty significantly - it can take years before someone is in a position to shake the addiction.
it got started with massive overprescription of opioids in the 2000s, then the government belatedly cracked down on that, and a lot of people who got addicted switched to street drugs, which is when the crisis became obvious to the public.