BISMARCK, N.D. (AP) — The North Dakota Legislature has passed a bipartisan bill aimed at shielding businesses and health care facilities from lawsuits over customers’ or employees’ COVID-19 exposure.

The Senate approved the bill 41-6 on Wednesday. The House passed the bill 77-17 last month.

Republican Sen. Jerry Klein said about 30 states have passed similar legislation. The move by the states came after a federal proposal led by Senate Republicans failed to win approval last year.

Officials representing business and hospital groups spoke in favor of the legislation, while some attorneys and a union leader opposed it.