First code is " Misfire on cyl. # 1"..
Second code is " Fueltrim malfunction ".
I would go after the first code first.
Anytime you have a sufficient misfire, to be detected by the ECU, it could be related to the second code, as a misfire is interpreted by the O2 sensor as a LEAN fuelmixture.
Therefore, if you eliminate the misfire, it may well take care of the second code/problem.
Sounds like your car is going into " limpmode".