The R&B star and his publisher had been accused of withholding compensation from a lyricist on both tracks.