If you call the gov and you confess to something that’s on you.
Your friend also cannot just bust into your house and search through your things. Now the government because it has enormous powers behind it and people willing to do the wrong thing on its behalf is specifically limited in what it’s allowed to do.