Keep in mind that you will also have to relocate the gas ports. This will require someone who is competent with the AR platform and may (will likely) require some tuning. IMHO you would be better served getting either a new barrel or complete upper from a company reputable in dealing with that length barrel. Might I suggest Bravo Company USA?
Silencers have NEVER been illegal !