Yup, to reinforce the previous answer, they're the same. But just for some visual clarification to make sure you're at ease about it, here attached are some photos (from my folder of others' builds).
As you can see, the input wires from the RCA jacks go to the same solder points in both the stock pot and the Alps, and same with the outs and grounds. Also, the last photo verifies the pinout (taken from
https://tangentsoft.net/audio/pancomp.html). Hope this helps. And good thinking with the Alps PCB, should make for a great, clean install! Hope it goes well