Kodak Black pleads guilty, faces 2-7 years for gun charge