If I could be sure that it would be used for those purposes and nothing else, I wouldn't have a problem with it.
But I don't trust the government to use it only for those purposes. All you need is one person in a position of power who is on a mission, and the information will end up being used for anti-immigration purposes or anything else they want. (This is from the government who claims to want to protect our civil liberties, and lessen the power of the state and make the state less intrusive, blah blah blah.)
Nor do I trust the company who's collecting it to release it only to the appropriate agencies. I think they wanted the contract because they knew the information would be worth a lot to someone.
I don't trust this government to do anything I want it to do, tbh. You know, like protect schools and hospitals.