The prolific rapper will receive credit for time served and could be released early next year