If your wife used her own SS when working illegally, then INS might find out. I don’t know what to say or advice you about it. I worked while out of status long long time ago as well, but there were no records and I never mentioned that fact to INS and they never found out.