Code P0325 is for Knock Sensor (KS) while P0110 is for the Intake Air sensor. It's possible that the engine knock is due to the faulty Intake Air sensor. The Intake Air sensor is a thermistor (negative coefficient of thermal expansion, i.e., resistance goes down as temp goes up). If your KS is still original, it's probably due for replacement. You can search on YouTube for 'how to' where a guy "boredmder" (I hope I got it right) has very good posting.
The Intake Air sensor is easy to replace but the KS will require a lot of patience and the right tools. The 98-Federal configuration KS is less difficult to replace than later generation, especially those with CA-emission. Refer to the link below for additional info, starting on page EC-126:
http://www.nicoclub.com/FSM/maxima/1998/EC.pdf