Other than the failing knock sensor, the remaining codes are pointing to deferred maintenance items.
A lean code on both banks point to a fuel quantity problem. I would replace the fuel filter first. It if doesn't resolve, test fuel pressure (and quantity) at the rail before going further.
Low...