The issue now really isn't that your friend's parole officer sought to search your premises because your friend was a frequent guest; the question is whether your consent to the search, which led to the discovery of the illegal items, was voluntary. You've not yet indicated any facts that would suggest that a court would find it involuntary; you should discuss your situation in detail with a criminal defense lawyer.

