Thank you for choosing JustAnswer and allowing me to help you resolve your Toyota questions!
There have been multiple problems with these 2 codes. The most common is a bad charcoal canister or the VSV that is mounted to it is known to go bad. If you buy the whole canister it comes with the VSV. The canister is $250 to $300 new from the dealer. Go to www.metrotoyotapartsnow.com for online wholesale prices. The other issue is the CCV at the air cleaner box it is known to leak but normally you will see a P0440 code with the 2 that you have. The diagnosis steps and pressure test to resolve these issue for these 2 codes is quit involved. Make sure the voltage signal to the VSV at the Canister is good. Use a test light across the connector.