Landmark food-safety legislation becomes law