You can go to the prosecutors office and fill out an affidavit of non prosecution and request the charges not be pursued.
Attorney's that answer questions on AVVO take the time to provide helpful legal guidance. If the information you receive helps you please mark the answer as helpful.
Talk to the friend's public defender. They will know what to do.
No legal advice is given here. My responses to questions on Avvo are never intended as legal advice and must NOT be relied upon as if they were legal advice. I give legal advice ONLY in the course of a formal attorney-client relationship. Exchange of information through Avvo's Questions & Answers forum does not establish an attorney-client relationship with me. That relationship is established only by joint execution of a written agreement for legal services. I am only licensed in the States of California and New York and the District of Columbia