That’s something called a thread protector. It protects the threads inside the barrel.
The threads are there so you can fit devices known as “chokes” which alter the pattern and density of the shot cloud you’re firing.
Thanks. My friend has a similar weapon and his does have this. I thought it might be to add a flash surpressor.
Thanks again.