Nope. Changing the plugs won't make a difference if the knock sensor is the issue. That would be like splinting your arm when you have a broken leg.
The knock sensor on that engine is VERY easy to change. Might take 5 minutes and the code would clear itself as soon as the engine is started if the sensor is the problem.
See the picture for it's location. Looks like the part is around 30 dollars.
Image (Click to make bigger)
Monday, April 26th, 2021 AT 7:34 PM