Venezuela's chief prosecutor is urging restraint from both the government and opposition after the deaths of two more people during protests.