This has a diagram of how to take the MAF sensor out of the filter housing:
http://www.airaid.com/InstallationPDF/400-109.pdf
You don't really need to do that, I would just disconnect the battery and the intake to the engine and spray the MAF and let it dry off. Just becarefull and don't touch the MAF wire as you said.