These codes are set when too low of a voltage is sent to the computer from the oxygen sensors-this can be due to both oxygen sensors being weak, vacuum leaks, low input from mass airflow sensor etc. Since both banks report lean, a cheap try is to inspect & clean mass airflow sensor hotwires & disconnect battery for 5 minutes to clear codes.