Shifter Module for W210

Question

I have a 2002 E320 that has a bad floor shifter module.

 

Did this year requrie that the shifter be virgin and coded? Or would a used shifter work?