Thanks for the help. I was able to get the pedal working (the terminals in the plug between the pedal and the harness were corroded) and no more error codes but now the car only accelerates very slowly and has a slight stutter. We checked and cleaned the brushes but did not fix the issue.