As a result of this understanding/empathy, it was possible to pass this legislation.
I see parallels with the legalisation of same-sex marriage. I saw somewhere that there is a correlation between support of same-sex marriage and actually knowing that a family member or friend is LQBTQ.
It seems to me that once people can empathise on a personal level, new approaches become acceptable (/ enter the Overton Window).
How this relates to the opioid crisis in the USA I do not know. I’ll leave someone else with more familiarity with the situation to pontificate on that.