WARNING: This page is about a different car, the 2005 Lexus GS 430 and 2005 Lexus GS 300. However, it is still accessible from the selected car via links, so may be relevant.
The engine serial number is stamped on the engine block, as shown in the illustration.