06 Corolla engine identify

#1
I recently purchased an 06 Corolla which I found out later had the engine changed. No big deal until I also found out there were 2 different types of that motor and they didn't know which one it was or how to identify it. They were searching from where the motor came from to see if they could tell me but thought I would try here. I found some numbers and letters on block. 252161 and below it 1ZZ. Can someone help with this?

Thanks,
Posimoto
 
Top