Does your state have any laws about passing a state inspection within a week of sale? Do you need the CEL off to pass inspection? Run, don't walk, to a nissan dealer for a full thorough inspection if this is the case, and document everything.
You can clear the codes by pulling "the right" fuse, whichever that is, there will likely be several ECM fuses.