A sensing system includes a nanowire, a passivation layer established on at least a portion of the nanowire, and a barrier layer established on the passivation layer.