WARNING: This page is about a different car, the 2012 Toyota Corolla. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: Engine Immobilizer System (W/O Smart Key System) System Wiring Diagram (Except TMC Made)