Good day, it looks like you have a failure in the ABS/ Electronic Stability Control depending on your mileage and date of purchase you may still have warranty on that vehicle, also Mercedes Benz may have a campaign to do the repair as they have many failures on those models
It won't hurt to go to the Dealer and pay for an estimate and question the service advisor if any wrty, campaigns etc
RepairPal Certified shops can diagnose and repair your 2010 Mercedes-Benz C300. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.