The possibility of your name being revealed at time of investigation cannot be ruled out
Had the matter been restricted to only introducing your friend, that would not make you liable
However since you have generated invoice for the company which deals in fake invoicing to claim ITC benefit, even the accountant becomes liable
But you can always take defense that the invoice was generated on instructions of company and you had no knowledge that it was a matter of fake invoicing. You can say that in the normal course you make several invoices for your client's business transactions, but which one is legitimate and which one is fake, cannot be within your knowledge
You have no direct involvement in the dealings of your client and its business associates