I'm not defending the ridiculously complicated U.S. Code but, even if it was much simpler, there is no way you can honestly say, "I know I did nothing illegal."
(Took me years to comprehend just NY weapons laws.)
Ignorance of the law is the norm. When the laws one is subject to can be measured in cubic yards, something is awry. Contrast with the entire US Constitution fitting on one piece of paper.
"The average professional in this country wakes up in the morning, goes to work, comes home, eats dinner, and then goes to sleep, unaware that he or she has likely committed several federal crimes that day. Why? The answer lies in the very nature of modern federal criminal laws, which have exploded in number but also become impossibly broad and vague. In Three Felonies a Day, Harvey A. Silverglate reveals how federal criminal laws have become dangerously disconnected from the English common law tradition and how prosecutors can pin arguable federal crimes on any one of us, for even the most seemingly innocuous behavior. The volume of federal crimes in recent decades has increased well beyond the statute books and into the morass of the Code of Federal Regulations, handing federal prosecutors an additional trove of vague and exceedingly complex and technical prohibitions to stick on their hapless targets. The dangers spelled out in Three Felonies a Day do not apply solely to “white collar criminals,” state and local politicians, and professionals. No social class or profession is safe from this troubling form of social control by the executive branch..."
I am in law school right now, and the first thing I learned is how little I know, the second is how little I will know about the entirety of the law when I graduate.
More recently I started realizing how quickly even law professors and experienced lawyers will plead ignorance (or at least state they need time for research) when you ask questions even slightly outside their specialty.
People who graduate from law school but who do not become licensed to practiced are referred to as "law graduates" or "JDs" (after the degree).
Since you typically have nothing to gain by talking to law enforcement, why would you? It's all downside.
Critical system failure. There should be red lights blinking and klaxons wailing.