1. do not take legal advice from an anonymous website.
2. Hire a reputable criminal defense attorney. An initial consultation should not be too expensive.
3. do not write any letters to anyone without running it by your attorney.
4. in the future, have your "friends" carry the stash and hold the pipe.
5. If you really want to be a professional pilot, you need to stop doing all illegal drugs. They have this new thing called drug testing.
good luck!