Mustaine was also a former Metallica guitarist and co-songwriter in the band 's early history but was fired from the band due to his drug and alcohol addictions . Mustaine was also the first lead guitarist and co-songwriter of Metallica until he was abruptly removed from the band in 1983 .