First, there is no such thing as code p0101D.
See FSM starting on page EC-202. There is either p0101 (for bank1 = passenger side) or p0101B (for bank2 = driver side). So let's assume you really meant to say p0101B. That means unmetered air (ie, air leak) on driver's side. IOW, extra atmospheric air is entering the engine intake on that side, without passing thru the MAF sensor (ie, the air meter).
There are 2 MAF sensors, one for each air-filter. Before you blow whopping $600 on a MAF sensor, you might want to check a few things:
Some vacuum hose maybe slipped off its nipple, or cracked, or got pinched, or whatever?
The intake tube between MAF and TB might be loose? Is tube mounted correctly, and clamp is tight?
The air filter might have popped out of place, allowing dirt to get past it, and into the MAF housing?
The tiny weensy MAF filament heater wire might be dirty (NOTE: Autozone sells special aerosol cans of MAF cleaner). A dirty MAF behaves erratically. It measures the temperature of a fine wire as air passes over it, just like you blow on your spoonful of soup to cool it. A simple speck of dust will make it misbehave.
Youtube shows you how to clean and/or DIY replace the MAF in under 5 minutes, with a simple screwdriver.
Try swapping your 2 MAF sensors, and see if the problem switches over to the OTHER bank (ie, code switches from P0101B to P0101).
Replacing MAF sensor is usually the LAST resort, is very expensive, and seldom is the real problem.
But if you've got money to burn....
