You may have been looking at a Titanium Nitride coating, commonly used on cutting tools, but also used on other wear items. It is a thin, hard coating, that may help reduce friction and wear between two steel parts rubbing, such as in the worm and gear pair you describe.