Interesting! This was ~2018.
My memory is a little hazy, but I remember having the photo taken at USCIS, walking over to a photo booth which asked to confirm some information like name or number and maybe a fingerprint too? Anyway, it wasn't a polaroid paperclipped to my forms: it seemed like a different system that would have to be linked to my application.
The images are very different: same gender, but different race, and off by about 30 years and 1 head of hair!