You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: enrollment_helper.rb
    path of file: ./repos/identity-idp/app/services/usps_in_person_proofing
    
    the code of the file until where you have to start completion: module UspsInPersonProofing
  class EnrollmentHelper
    class << self
      def schedule_in_person_enrollment(user, pii, opt_in = nil)
        enrollment = user.establishing_in_person_enrollment
        return unless enrollment

        enrollment.current_a
    
      def schedule_in_person_enrollment(user, pii, opt_in = nil)
        enrollment = user.establishing_in_person_enrollment
        return unless enrollment

        enrollment.current_address_matches_id = pii['same_address_as_id']
        enrollment.save!

        # Send state ID address to USPS
        pii = pii.to_h
        if !enrollment.current_address_matches_id?
          pii = pii.except(*SECONDARY_ID_ADDRESS_MAP.values).
            transform_keys(SECONDARY_ID_ADDRESS_MAP)
        end