Police and troops were deployed days ahead of the Monday ceremony , during which 351 new lawmakers will be sworn in by President Hamid Karzai .