Titans agree to deal with second-round pick