Doing a feature for a friend? Put the deal in writing before the session, even if it's one paragraph in an email. Write down the fee if there is one, the songwriting split, how you'll be credited, and whether they can use your name in promotion. It takes ten minutes, and you'll both be glad it exists when the song comes out.