Replace knock sensor but check engine light stays on. Raw gas smell in cabin on 2000 Infiniti Q45

Codes said to replace knock sensor but check engine light stays on.
Also, there was the smell of raw gas in the cabin and on the left side under hood but no sign of leak.

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
2 answers 1 comment
some trouble codes stored in the engine,
you shoule use a code scanner clear the fault code,
this tool can help you.
http://www.chinasinoy.com/wholesale/code-reader-scanner-tool-obd-ii-eobd-english-spanish-free-shipping-445.html
check fuel regulator and replace knock sensors,also check egr valve
is the knock sensor the one we also call the brain box?