Seems like BMW DCT trans
The OEM system uses a a 5th VSS in the trans + gearshift sensor from a physical perspective along with Accel/Brake input.
Pin #1 APP2 Sig
Pin #2 APP2 GND
Pin #3 APP1 Sig
Pin #4 APP1 GND
Pin #5 APP1 5v
Pin #6 APP2 5v
Here's a diagram I made of the APP connector. This connector and pins are the same from 2009-2022 370z and 2007- 2013 G35/37 + Q40 and other Nissan and Infiniti that use the same style connector