The legislation comes as the Oregon Supreme Court weighs whether to uphold the 2022 voter-approved gun control law.