Measures were proposed after baseless claims were pushed by Donald Trump and his allies about noncitizen voting.