Scientists and some opposing lawmakers say the passing of the legislation violated normal procedures.