Birmingham have signed Barnet midfielder Olly Lee on an emergency loan deal until the end of the season.