The Formation of Carbonaceous Material in the Early Solar Nebula: The Role of Metal Dusting