The legislation would prohibit insurance companies from denying coverage of a prescribed nonopioid in favor of an opioid or charging more.