I did something very similar to this with mine on my '99 540/6 and it worked - for a while. However, the dreaded check engine light returned about 4 or 5 months later. At that point I replaced the MAF sensor completely and that resolved the issue. Since this methodology is basically free, I definitely feel it's worth trying; just don't have elevated expectations.
2006 Honda Odyssey EXL-RES
2006 Honda Accord V6 EX-L Sedan
1999 BMW 540i 6-Speed (Sold to M3UOND on 9/21/06)
1991 Honda Civic Si - Occasional Beater