mercedes c 300 abs esp lights

  mercedes/c-class/2008-2015

dealer said computer showed that L/R axel  magnetic pick up rusted off and will need replaced.  what is that?  just changing sensor wont solve abs/esp light problem?

13