A bill seeks to provide protections for companies in states that have legalized weed for medical or recreational use.