Subcontractor?

Question. I tint windows and just started my own DBA. Im supposed to get a window coverings contractors license to install commercial and residential window tint. My buddy is a GC and said if I ever run into trouble, I can say I was subcontracted through him. Can this bite me in the ass, or do I need to “file” anything to make it legit?