My problem was solved by replacing my MAF and replacing the sealing ring just after that.
The p1747 code you listed is associated with the transmission, sometimes activating the Trans Fail Safe Mode. If that is your problem you should start a new thread and explain your symptoms.
But, if that was a typo and you meant p0174, it means 'System Too Lean (Bank 2)'. Bank 2 is the driver's side. How many miles do you have on the car?