You should consult with your attorney about this. There are a couple of questions here, was it a valid search and were you in possession. Your attorney can advise, you but it is rarely as simple as you suggest. Cases almost never go away based on someone else stepping forward and taking the blame. You and the person you describe both need to talk to lawyers. I am not licensed in Texas, so can't advise you on how best to handle your case.