replaced OC_LOG with OIC_LOG in security