97' has no EGR and the cam profile is such that the exhaust valve closes earlier and keeps a bit of residual inert exhaust gas to mix with the incoming charge. Twin cam engines with VVT on only the exhaust side are able to eliminate EGR and related complications while still getting max HP at WOT this same way. If the valve closes later to increase power by scavenging the exhaust, NOX will increase. Regardless of whether the smog station knows you swapped cams or not, you still could fail high NOX.