Change nsString to nsAString as general const paramter in internal functions and add prefix a to whose parameters.