I have a 2005 325 also, I had those same code as well. Mine was due to a tear in the upper intake boot $23 part. Look at both your upper and lower intake boots, especially where it y's and you may find your issue. It may be small enough of a tear where the engine heating and cooling could be making it smaller or bigger. I did that as well as my secondary air sensor and lines but if you checked your vacuum you should just need to do your boots.
Hope it helps, and just telling you what I just did to mine with the same codes!