Clear the codes and see if they come back. I had a similar issue with oddball error codes after replacing my battery. When voltage to the DME went to zero it caused a hickup
. I cleared them and they did not return.
Since your car was damaged in an accident it may also be a damaged sensor harness or DME harness. You can trace the wires and see if there are any chaff points or loose connectors.