I don't have a problem with them asking. I politely decline to tell them and move on. I have yet to have it be a stumbling block. An employer asking is a fairly standard practice, as is a potential employee not providing that information.
That would have been my response.
But required for lots of stuff. E.g. 1098 for employment, tax returns for getting a loan.