Titanium nitride coating on implanted layer using titanium plasma based ion implantation