Who in their right mind would cut wiring off the vent control valve? That is part of the emission system and depending on the state, the car wouldn't pass inspection. If I'm right, this is a link for what you need for P0449: https://www.amazon.com/ACDelco-214-3218-Original-Equipment-Canister/dp/B00559VRDU
Here's the link for info on P0452: https://www.justanswer.com/chevy/7h2by-chevrolet-cobalt-ls-check-engine-light-code.html
​
Suggestion is to replace the solenoid first.