WARNING: This page is about a different car, the 2004 Lexus GS 430 and 2004 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.
Fig 1: Identifying Engine Serial Number Stamped On Engine Block