A code P0301 may mean that one or more of the following has happened:
- Faulty spark plug or wire
- Faulty coil (pack)
- Faulty oxygen sensor(s)
- Faulty fuel injector
- Burned exhaust valve
- Faulty catalytic converter(s)
- Running out of fuel
- Poor compression
- Defective computer
Looks like your misfire is caused by bad O2 sensor because both of them showed up in your scan results.
2 months ago, I was lucky with my misfire because it was solved simply by replacing spark plug wire