Survivors of rape and sexual assault will no longer have to give police access to their counselling notes except in special circumstances, under a new code of practice that came into force on Monday.