Circuit description
WARNING: This page is about a different car, the 2018 Subaru BRZ. However, it is still accessible from the selected car via links, so may be relevant.
The control unit relay ASSY outputs a signal to the key interlock solenoid when the ACC signal and P signal are input.