The bill now heads to Gov. Bob Ferguson's desk after passing the state legislature.