When I changed my head unit to an RNS-510, I tried asking my service dept for the security code for the 310 but they were unable to get it on-line.
In the end, they had to re-install the old head unit, link the car up to VW system to extract the code.