Motor swap 1997 Camry to 2002 Camry

I have a 1997 Camry that my daughter put in a pond…that is the short story. I believe the 4-cylinder engine to still be good. It has 110K on it and ran perfectly…the car is now totaled from the recovery. I can get a 2002 Camry LE with a locked motor and relatively new transmission for $400. Will the 1997 motor fit the 2002? Additionally, are there any tips on what to do with the pond soaked engine? Thanks. Jim

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0